package live.zs.securitystarter.repo;

import live.zs.securitystarter.entity.MyUsersEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * @author madison
 * @description
 * @date 2021/7/16 16:45
 */
public interface MyUserRepo extends JpaRepository<MyUsersEntity, Integer> {
    Optional<MyUsersEntity> findByUsername(String username);
}
